<template>
  <div class="container">
    <px-video :url="url"></px-video>
  </div>
</template>
<script setup lang="ts">
import PxVideo from '@/components/px-video/index.vue'
const url = ref<string>(new URL('@/assets/video/1.mp4',import.meta.url).href)
// setTimeout(() => {
//   url.value = new URL('@/assets/video/test.mp4', import.meta.url).href;
// }, 3000)
</script>

<style lang="scss" scoped>
.container {
  flex: 1;
  overflow: hidden;
  height: 100%;
}
</style>